package com.copa.module.order.manage;

import com.copa.domain.ResponseDto;
import com.copa.module.order.domain.dto.OrderDetailDto;
import com.copa.module.order.domain.entity.OrderEntity;
import com.copa.module.order.domain.entity.OrderGoodsEntity;

import java.util.List;

/**
 * @author copa
 * @createDate 2021-01-09 16:26
 * @function
 */
public interface OrderManage {

    OrderDetailDto findOrderDetailByOrderId(OrderEntity order);

    ResponseDto<OrderGoodsEntity> findOrderGoodsByOrderGoodsId(String subOrderId);

    ResponseDto<Boolean> putOrderGoodsById(OrderGoodsEntity orderGoods);

    ResponseDto<List<OrderGoodsEntity>> findOrderGoodsListByOrderId(String orderId);
}
